**************************************************************************************************
*** This do file creates the replication results for 
*** Do Governments Mean Business When They Derogate? Human Rights Violations During Notified States of Emergency 	 					 	*/
*** Eric Neumayer (LSE)																			*/
*** 																							*/
*** Published in: Review of International Organizations, 8 (1), 2013, pp. 1-31												*/
**************************************************************************************************
**************************************************************************************************
/* Note: You have to change "local DIR" to the directory you copy the original stata files contained 	*/
/* in the zip file and then run the do file. 
/* You must have Stata version 12 or higher installed													*/
**************************************************************************************************
*/

version 12.0
drop _all
clear matrix
clear mata
set mem 400m
set mat 5000


***********************************************************************************
local DIR = "C:\Research\Democracy data sets\Cingranelli and Richards\"  /*change relative path to the directory where the files are located */
cd "`DIR'"
***********************************************************************************

use "Article for RIO (derogations)", clear

tsset

* Some descriptive statistics on derogations reported in text

preserve
collapse derogations_iccpr_inyear_dum, by(country)
list country if derogations_iccpr_inyear_dum>0 & derogations_iccpr_inyear_dum<.
restore

su  derogations_iccpr_corr if  derogations_iccpr_inyear_dum==1
su  derogations_iccpr_corr if  derogations_iccpr_inyear_dum==1 & polity2_dem==0
su  derogations_iccpr_corr if  derogations_iccpr_inyear_dum==1 & polity2_dem==1
su  derogations_iccpr_corr if  derogations_iccpr_inyear_dum==1 & polity2_dem_ab5==1
su  derogations_iccpr_corr if  derogations_iccpr_inyear_dum==1 & polity2_dem_ab6==1



capture program drop feologit_buc
program feologit_buc, eclass
version 10
gettoken gid 0: 0
gettoken y x: 0
tempvar iid id cid gidcid dk
qui sum `y'
local lk= r(min)
local hk= r(max)
bys `gid': gen `iid'=_n
gen long `id'=`gid'*100+`iid'
expand `=`hk'-`lk''
bys `id': gen `cid'=_n
qui gen long `gidcid'= `gid'*100+`cid'
qui gen `dk'= `y'>=`cid'+1
clogit `dk' `x', group(`gidcid') cluster(`gid')
end

/* feologit_buc ivar yvar xvars

ivar is the individual identifier,
yvar is the ordered dependent variable, and
xvars is the list of explanatory variables.
*/


* table 1
use "Article for RIO (derogations)", clear
quietly feologit_buc countryid   strict_non_derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
keep if e(sample)
keep if strict_non_derog_rights_index!=.
collapse strict_non_derog_rights_index kill tort disap new_relfre  derog_rights_index polpris assn minmove speech elecsd   derogations_iccpr_corr derogations_iccpr_inyear_dum  prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  polity2_anoc polity2_dem lngdppcconst lnpop, by(country year)
su strict_non_derog_rights_index kill tort disap new_relfre  derog_rights_index polpris assn minmove speech elecsd   derogations_iccpr_corr derogations_iccpr_inyear_dum  prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  polity2_anoc polity2_dem lngdppcconst lnpop if e(sample)


* Table 2
use "Article for RIO (derogations)", clear
feologit_buc countryid strict_non_derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   disap polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   kill polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   tort polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   new_relfre polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   polpris polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   assn polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   minmove polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   speech polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   elecsd polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)

* Table 3
use "Article for RIO (derogations)", clear
xi: heckman  strict_non_derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  disap polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  kill polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  tort polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  new_relfre polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  polpris polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  assn polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  minmove polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  speech polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)
xi: heckman  elecsd polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year i.country if iccprmainrat==1, select( derogations_iccpr_inperiod_sum = prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop anysoe i.year ) cluster(country)

* Table 4
capture drop polity2_interaction*
gen polity2_interaction_autoc=(polity2_3cat_dem_ab4==0)*derogations_iccpr_corr
gen polity2_interaction_anoc=(polity2_3cat_dem_ab4==1)*derogations_iccpr_corr
gen polity2_interaction_democ=(polity2_3cat_dem_ab4==2)*derogations_iccpr_corr
xi: logit     UNCHR_targeted_dummy  polity2_interaction*  strict_non_derog_rights_index derog_rights_index prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 , cluster(country)
margins, dydx(*) post level(90)
test polity2_interaction_autoc=polity2_interaction_anoc
test polity2_interaction_autoc=polity2_interaction_democ
xi: ologit    UNCHR_targeted_strength polity2_interaction*  strict_non_derog_rights_index derog_rights_index prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 , cluster(country)
margins, dydx(*) post level(90) predict(outcome(0))
test polity2_interaction_autoc=polity2_interaction_anoc
test polity2_interaction_autoc=polity2_interaction_democ
quietly xi: ologit    UNCHR_targeted_strength polity2_interaction*  strict_non_derog_rights_index derog_rights_index prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 , cluster(country)
margins, dydx(*) post level(90) predict(outcome(1))
test polity2_interaction_autoc=polity2_interaction_anoc
test polity2_interaction_autoc=polity2_interaction_democ
quietly xi: ologit    UNCHR_targeted_strength polity2_interaction*  strict_non_derog_rights_index derog_rights_index prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 , cluster(country)
margins, dydx(*) post level(90) predict(outcome(2))
test polity2_interaction_autoc=polity2_interaction_anoc
test polity2_interaction_autoc=polity2_interaction_democ
quietly xi: ologit    UNCHR_targeted_strength polity2_interaction*  strict_non_derog_rights_index derog_rights_index prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 , cluster(country)
margins, dydx(*) post level(90) predict(outcome(3))
test polity2_interaction_autoc=polity2_interaction_anoc
test polity2_interaction_autoc=polity2_interaction_democ
quietly xi: ologit    UNCHR_targeted_strength polity2_interaction*  strict_non_derog_rights_index derog_rights_index prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 , cluster(country)
margins, dydx(*) post level(90) predict(outcome(4))
test polity2_interaction_autoc=polity2_interaction_anoc
test polity2_interaction_autoc=polity2_interaction_democ



*** NOTE: Tables 5 and 6 are estimated with linear FE due to convergence problem in likelihood maximization of feologit_buc 
* Table 5
xi: xtreg strict_non_derog_rights_index xconst_7  xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg strict_non_derog_rights_index parreg_5_xrcomp_3  parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg disap xconst_7  xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg disap  parreg_5_xrcomp_3 parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg kill  xconst_7 xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg kill  parreg_5_xrcomp_3 parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg tort  xconst_7 xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg tort parreg_5_xrcomp_3  parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg new_relfre xconst_7 xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg new_relfre parreg_5_xrcomp_3 parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg derog_rights_index  xconst_7 xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg derog_rights_index  parreg_5_xrcomp_3 parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg polpris xconst_7  xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg polpris  parreg_5_xrcomp_3 parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg assn xconst_7 xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg assn parreg_5_xrcomp_3 parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg minmove xconst_7 xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg minmove parreg_5_xrcomp_3 parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg speech xconst_7 xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg speech parreg_5_xrcomp_3 parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)

xi: xtreg elecsd xconst_7 xconst_7#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(xconst_7)   pwcompare(group) level(90)
xi: xtreg elecsd parreg_5_xrcomp_3 parreg_5_xrcomp_3#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_dem==1 , fe robust
margins, dydx(derogations_iccpr_corr) over(parreg_5_xrcomp_3)   pwcompare(group) level(90)


* Table 6
xi: xtreg strict_non_derog_rights_index military  military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg strict_non_derog_rights_index dpi_oneparty  dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg disap military  military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg disap  dpi_oneparty dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg kill  military military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg kill  dpi_oneparty dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg tort  military military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg tort dpi_oneparty  dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg new_relfre military military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg new_relfre dpi_oneparty dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg derog_rights_index  military military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg derog_rights_index  dpi_oneparty dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg polpris military  military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg polpris  dpi_oneparty dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg assn military military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg assn dpi_oneparty dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg minmove military military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg minmove dpi_oneparty dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg speech military military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg speech dpi_oneparty dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)

xi: xtreg elecsd military military#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(military)   pwcompare(group) level(90)
xi: xtreg elecsd dpi_oneparty dpi_oneparty#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   lngdppcconst lnpop i.year  if iccprmainrat==1 & polity2_3cat_dem_ab4==0 , fe robust
margins, dydx(derogations_iccpr_corr) over(dpi_oneparty)   pwcompare(group) level(90)


* Online appendix table 1
* Days of derogation, LDV
use "Article for RIO (derogations)", clear
tsset
capture drop lstrict_non_derog_rights_index
gen lstrict_non_derog_rights_index=l.strict_non_derog_rights_index
feologit_buc countryid strict_non_derog_rights_index lstrict_non_derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop ldisap
gen ldisap=l.disap
feologit_buc countryid   disap ldisap polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop lkill
gen lkill=l.kill
feologit_buc countryid   kill lkill polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop ltort
gen ltort=l.tort
feologit_buc countryid   tort ltort polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop lnew_relfre
gen lnew_relfre=l.new_relfre
feologit_buc countryid   new_relfre lnew_relfre polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop lderog_rights_index
gen lderog_rights_index=l.derog_rights_index
feologit_buc countryid   derog_rights_index lderog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop lpolpris
gen lpolpris=l.polpris
feologit_buc countryid   polpris lpolpris polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop lassn
gen lassn=l.assn
feologit_buc countryid   assn lassn polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop lminmove
gen  lminmove=l.minmove
feologit_buc countryid   minmove lminmove polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop lspeech
gen lspeech=l.speech
feologit_buc countryid   speech lspeech polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
tsset
capture drop lelecsd
gen lelecsd=l.elecsd
feologit_buc countryid   elecsd lelecsd polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)

* Derogation dummy, no LDV
use "Article for RIO (derogations)", clear
feologit_buc countryid strict_non_derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   disap polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   kill polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   tort polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   new_relfre polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   polpris polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   assn polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   minmove polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   speech polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   elecsd polity2_3cat_dem_ab4#c.derogations_iccpr_inyear_dum prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_inyear_dum) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)

* Days of derogation, no LDV, democracy: polity2>=6
use "Article for RIO (derogations)", clear
feologit_buc countryid strict_non_derog_rights_index polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   disap polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   kill polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   tort polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   new_relfre polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   derog_rights_index polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   polpris polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   assn polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   minmove polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   speech polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   elecsd polity2_3cat_dem_ab5#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab5 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab5=(0 1 2))   pwcompare(group) level(90) predict(xb)


* Days of derogation, no LDV, democracy: polity2>=7
use "Article for RIO (derogations)", clear
feologit_buc countryid strict_non_derog_rights_index polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   disap polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   kill polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   tort polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   new_relfre polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   derog_rights_index polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   polpris polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   assn polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   minmove polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   speech polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   elecsd polity2_3cat_dem_ab6#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab6 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab6=(0 1 2))   pwcompare(group) level(90) predict(xb)


* Days of derogation, no LDV, open ended derogations set to missing
use "Article for RIO (derogations)", clear
feologit_buc countryid strict_non_derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   disap polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   kill polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   tort polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   new_relfre polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   polpris polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   assn polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   minmove polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   speech polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   elecsd polity2_3cat_dem_ab4#c.derogations_iccpr_noopenended prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 
margins, dydx(derogations_iccpr_noopenended) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)

* Days of derogation, no LDV, excluding countries experiencing regime transition during period of derogation
use "Article for RIO (derogations)", clear
feologit_buc countryid strict_non_derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb) 
use "Article for RIO (derogations)", clear
feologit_buc countryid   disap polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   kill polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   tort polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   new_relfre polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   derog_rights_index polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   polpris polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   assn polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   minmove polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   speech polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid   elecsd polity2_3cat_dem_ab4#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1 & regtrans_during_derog_totderper==0 
margins, dydx(derogations_iccpr_corr) at(polity2_3cat_dem_ab4=(0 1 2))   pwcompare(group) level(90) predict(xb)


* Online appendix table 2
use "Article for RIO (derogations)", clear
feologit_buc countryid     strict_non_derog_rights_index courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     strict_non_derog_rights_index derogations_iccpr_corr  rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count    rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     strict_non_derog_rights_index derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     disap courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     disap derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     disap derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     kill courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     kill derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     kill derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     tort courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     tort derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     tort derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     new_relfre courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     new_relfre derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     new_relfre derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     derog_rights_index courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     derog_rights_index derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     derog_rights_index derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     polpris courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     polpris derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     polpris derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     assn courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     assn derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     assn derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     minmove courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     minmove derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     minmove derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     speech courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     speech derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     speech derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  

use "Article for RIO (derogations)", clear
feologit_buc countryid     elecsd courtexec_filled#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count  courtexec_filled i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
margins, dydx(derogations_iccpr_corr) over(courtexec_filled)   pwcompare(group) level(90) predict(xb)
use "Article for RIO (derogations)", clear
feologit_buc countryid     elecsd derogations_iccpr_corr rulelaw_icrg_ext c.rulelaw_icrg_ext#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   rulelaw_icrg_ext i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  
use "Article for RIO (derogations)", clear
feologit_buc countryid     elecsd derogations_iccpr_corr wiikngointerpc c.wiikngointerpc#c.derogations_iccpr_corr prio*  banks_strikes banks_riots banks_anti_gov_demonstrations nat_dis_count   i.polity2_3cat_dem_ab4 lngdppcconst lnpop i.year  if iccprmainrat==1  



